<?php 
    require_once('inc/conn.php');
    $sql="SELECT * FROM slide WHERE id='".$_GET['id']."'";
    $result=mysql_query($sql);
    $row=mysql_fetch_array($result);
 ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <form name="form1" id="form1" action="slide_modify_pass.php?id=<?php echo $row['id']?>" method="post">
        <table width="80%" border="1" cellspacing="0" cellpadding="0">
            <tr>
                <td colspan="3">幻灯片修改</td>
            </tr>
            <tr>
                <td>标题</td><td>链接</td><td>缩略图</td>
            </tr>
            <tr>
                <td><input type="text" name="title" value="<?php echo $row['title'] ?>"></td>
                <td><input type="text" name="lianjie" value="<?php echo $row['lianjie'] ?>"></td>
                <td><input type="text" name="tupian" value="<?php echo $row['tupian'] ?>"></td>
            </tr>
            <tr>
                <td><input type="submit" value="提交"></td>
            </tr>
        </table>
    </form>
</body>
</html>